Method XPath2(string, params (string Prefix, string Uri)[])

Assembly: redb.Route.XPath2.dll

Creates an XPath 2.0 expression with namespace prefixes bound.

public static XPath2Expression XPath2(string path, params (string Prefix, string Uri)[] namespaces)

Remarks

The prefixes go in here rather than into a fluent call, because XPath 2.0 resolves them
while compiling and the expression compiles as soon as it exists — see
.